package com.lonely.inventory.domain.dto.stockup;

import com.lonely.inventory.domain.vo.stockup.StockUpInventorySizeInfoVo;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author: 黄志标
 * @date: 2025/5/23 16:36
 * @description: 调拨 备货库存尺码明细实体
 */
@Data
public class TransferStockUpInventorySizeDTO implements Serializable {

    /**
     * 备货库存id
     */
    @NotNull(message = "备货库存id不能为空")
    private Long stockUpInventoryId;

    /**
     * 调拨目标仓库id
     */
    @NotNull(message = "调拨目标仓库id不能为空")
    private Long transferTargetStorageArchiveId;

    /**
     * 尺码明细集合
     */
    @NotEmpty(message = "尺码明细集合不能为空")
    private List<StockUpInventorySizeInfoVo> sizeInfos;

}
